﻿
set nas=192.168.0.130
 

 


NET USE z: \\%nas%\Imcafe "admin" /user:"admin" /persistent:no /y

 

:a

ping 127.0.0.1 -n 1
if not exist z: (
 

  NET USE z: \\%nas%\Imcafe "admin" /user:"admin" /persistent:no /y
rem if not exist z:  start "openz_ati"  explorer z:
 
)

 

 

goto a 
rem  以上是无限循环运行



rem NET USE \\192.168.xxx.xx\Imcafe   /delete
rem NET USE z:  /delete